package com.rtx.edi.platform.rule.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rtx.edi.platform.rule.bean.UpdRule;

@Mapper
public interface UpdRuleMapper extends BaseMapper<UpdRule>{

	@Select("${sql}")
	int queryBySql(@Param("sql")String sql);
	
	@Select("${sql}")
	String queryOneResultBySql(@Param("sql")String sql);
	
	@Select("${sql}")
	List<Map<String,Object>> queryDataBySql(@Param("sql")String sql);
}
